package com.atguigu.gmall.product;


import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.bind.annotation.RestController;

/**
 * 商品管理  启动类
 */
@SpringBootApplication(scanBasePackages = {"com.atguigu.gmall"})
@EnableDiscoveryClient
//@MapperScan("com.atguigu.gmall.product.mapper")
public class GmallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GmallProductApplication.class);
    }

}